var transformer = require('./transformer');
var encode = process.argv[2];
var encodeTransformer = transformer.getEncodeTransformer({'encode':encode});
process.stdin.resume();
encodeTransformer.transfer(process.stdin, process.stdout)
//process.stdin.pipe(encodeTransformer);
//
//encodeTransformer.on('data', function(chunk){
//	process.stdout.write(chunk);
//})